<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
        <table border="1px">
            <caption>
                回复信息列表
            </caption>
                <a href="/invi/addre/${invid}">添加回复</a>
                <a href="/invi/getallinv">返回帖子列表</a>
            <tr>
            <th width="10%">回复内容</th>
            <th width="10%">回复昵称</th>
            <th width="10%">发布时间</th>
        </tr>
            <c:forEach var="reply" items="${list }" varStatus="status">
                <tr <c:if test="${status.index%2==1}">
                    style="background:red;";
                </c:if>>
                    <td>${reply.content}</td>
                    <td>${reply.author}</td>
                    <td>${reply.createdate}</td>
                </tr>
            </c:forEach>
        </table>
</body>
</html>
